<?php

namespace component\element\usergrade\controller;

use app\bll\UserGrade;
use core\component\ElementBase;
use support\View;

class index extends ElementBase
{
    public function index(...$param)
    {
        $bllUserGrade = new UserGrade();
        $grades = $bllUserGrade->select();
        return $this->view(array_merge($param, [
            'grades' => $grades
        ]));
    }
}
